* {
    padding: 0;
    margin: 0;
}

.layui-form-danger:focus {
    border-color: inherit;
    box-shadow: inherit;
}

.btn {
    border-radius: .42rem;
    margin: .3rem;
    width: calc(100% - 0.6rem);
    font-size: var(--default-font-size-28);
    padding: .25rem 0;
    text-align: center;

}

.radius-14 {
    border-radius: .14rem !important;
}

.radius-20 {
    border-radius: .20rem;
}

.small-btn {
    border-radius: .42rem;
    font-size: var(--default-font-size-28);
    padding: .12rem .3rem .13rem .3rem;
    text-align: center;
    border: none;
}

.small-border-btn {
    border: 1px solid var(--bc);
    color: var(--bc);
    background: var(--ff);
}

.small-border-gray-btn {
    border: 1px solid var(--cc);
    color: var(--cc);
    background: var(--ff);
}

.small-border-bd2-btn {
    border: 1px solid var(--bd2);
    color: var(--bd2);
    background: var(--ff);
}

.captcha-btn {
    border: 1px solid var(--bd2);
    color: var(--bd2);
    background: var(--ff);
    padding: .05rem .1rem;
}

.theme-btn {
    background: linear-gradient(-90deg, var(--bc) 0%, var(--bd1) 100%);
    color: var(--ff);
}

.fixed-btn {
    position: fixed;
    bottom: 0;
    right: 0;
}

.border-btn {
    border: 1px solid var(--bc);
    color: var(--bc);
    background: var(--ff);
    padding: .2rem 0;
}

.color-66 {
    color: var(--66) !important;
}

img {
    display: block;
}

.flex {
    display: flex;
}

.flex-1 {
    flex: 1 1 0%;
}

.flex-auto {
    flex: 1 1 auto;
}

.shrink-0 {
    flex-shrink: 0;
}

.flex-col {
    flex-direction: column;
}

.items-start {
    align-items: flex-start;
}

.items-center {
    align-items: center;
}

.items-baseline {
    align-items: baseline;
}

.items-end {
    align-items: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-start {
    justify-content: start;
}

.justify-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.justify-evenly {
    justify-content: space-evenly;
}

.grid {
    display: grid;
}

.w-20 {
    flex: 0 0 calc(20% - .4rem);
}

.w-25 {
    flex: 0 0 calc(25% - .4rem);
}

.mx-20 {
    margin-left: 0.2rem;
    margin-right: 0.2rem;
}

.m-30 {
    margin: 0.3rem;
}

.mx-30 {
    margin-left: 0.3rem;
    margin-right: 0.3rem;
}

.my-30 {
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
}

.mt-88 {
    margin-top: 0.88rem;
}

.mt-30 {
    margin-top: 0.3rem;
}

.mb-big-2 {
    margin-bottom: 2rem
}

.mb-30 {
    margin-bottom: 0.3rem;
}

.mr-30 {
    margin-right: 0.3rem;
}

.ml-30 {
    margin-left: 0.3rem;
}

.mt-50 {
    margin-top: 0.5rem;
}

.mt-60 {
    margin-top: 0.6rem;
}

.mt-80 {
    margin-top: 0.8rem;
}

.p-30 {
    padding: 0.3rem;
}

.px-30 {
    padding-left: 0.3rem;
    padding-right: 0.3rem;
}

.py-30 {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.pt-30 {
    padding-top: 0.3rem;
}

.pb-30 {
    padding-bottom: 0.3rem;
}

.b-30 {
    bottom: .3rem;
}

.rounded {
    border-radius: 0.2rem;
}

.rounded-24 {
    border-radius: 0.24rem;
}

.rounded-full {
    border-radius: 9999px;
}


.line-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.line-1 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.line-1-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fixed-b {
    position: fixed;
    bottom: 0;
}


.bg-white {
    background-color: #ffffff;
}

.scroll-bg-white {
    background-color: #ffffff;
}


.upgrade-z-index {
    position: relative;
    z-index: 3;
}

.pointer-events-none {
    pointer-events: none;
}

.border-left-1 {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.build-navbar {
    position: relative;
}

.card {
    background: var(--ff);
    border-radius: .20rem;
}

.last-dom {
    margin-bottom: 2rem;
}

.no-more {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -55%);

    .icon {
        width: 4.41rem;
        height: 3.73rem;
    }

    .text {
        font-weight: 400;
        font-size: var(--default-font-size-28);
        color: var(--c9);
        margin-top: .16rem;
    }
}

.navbar {
    width: 100%;
    height: 0.88rem;
    line-height: 0.88rem;
    font-size: 0.36rem;
    text-align: center;
    position: fixed;
    top: 0;
    z-index: 99;
    box-sizing: border-box;
    background-color: var(--ff);

    > i {
        position: absolute;
        left: .3rem;
        font-size: .36rem;
    }

    .left-bg {
        color: var(--ff) !important;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        height: 0.55rem;
        line-height: .55rem;
        width: 0.55rem;
        top: 50%;
        font-size: .3rem;
        transform: translateY(-50%);
    }

    .title {
        font-weight: bold;
        font-size: .34rem;
        color: var(--dcl);
        text-align: center;
    }

    .right {
        position: absolute;
        top: 0;
        right: .3rem;
        font-size: .25rem;
        color: var(--dcl);
    }

    .navbar-back {
        position: absolute;
        left: 0.32rem;
        top: 50%;
        transform: translateY(-50%);
        width: 0.2rem;
        height: 0.34rem;
    }
}

.img-top {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.bg-theme {
    background-color: var(--themeColor);
}

input {
    background: none;
    outline: none;
    border: 0px;
    outline: none;
}

textarea {
    background: none;
    outline: none;
    border: 0px;
    outline: none;
    width: 100%;
    height: 1rem;
}

input:focus {
    outline: none;
}

textarea:focus {
    outline: none;
}


.form-item .title {
    font-weight: 400;
    font-size: 0.26rem;
    color: #666666;
}

.form-item input {
    background: #f6f8fa;
    border-radius: 0.2rem;
    width: 100%;
    margin-top: 0.21rem;
    padding: 0.2rem 0.3rem;
    box-sizing: border-box;
    font-size: 0.23rem;
    display: block;
}

.subjeat {
    font-weight: 500;
    font-size: 0.34rem;
    line-height: 0.34rem;
    color: #000000;
    padding-left: 0.2rem;
    position: relative;
}

.subjeat::before {
    content: "";
    display: inline-block;
    width: 0.08rem;
    height: 0.3rem;
    border-radius: 0.04rem;
    background: var(--themeColor);
    margin-top: auto;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.tab-bar {
    z-index: 99999;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.12rem 0 0.12rem;
    color: #bdbdbd;
    font-size: 0.24rem;
    text-align: center;
    box-sizing: border-box;
}


.tab-bar img {
    width: 0.62rem;
    height: 0.62rem;
    margin: 0 auto;
}

.tab-bar .active > div {
    color: var(--bd);
}

.layui-layer.layui-layer-dialog {
    border-radius: .2rem !important;
}

.layui-layer.layui-layer-dialog {
    border-radius: .2rem !important;
}

.layui-layer-dialog .layui-layer-title {
    text-align: center;
    background: none;
    border: none;
    padding: 0 0 0 0;
}

.layui-layer-dialog .layui-layer-setwin {
    display: none;
}

.layui-layer-dialog .layui-layer-content {
    text-align: center;
    /*padding: 0 0 .2rem 0;*/
}

.layui-layer-dialog .layui-layer-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.layui-layer-dialog .layui-layer-btn a {
    width: 100%;
    height: .6rem;
    line-height: .6rem;
    text-align: center;
    display: block;
    border-radius: 2rem;
    overflow: hidden;
    border: none;
}

.layui-layer-dialog .layui-layer-btn .layui-layer-btn0 {
    color: #fff;
    background: var(--bc);
}

.layui-layer-dialog .layui-layer-btn .layui-layer-btn1 {
    color: #555;
    background: #EBEBEB;
}


.card-container {
    gap: .22rem;
    flex-wrap: wrap;
    margin-bottom: .22rem;
}

.card-container .card-item {
    flex: 0 0 calc(50% - .11rem);
    box-sizing: border-box;
    text-align: center;
    background-color: var(--ff);
    border-radius: .20rem;
    padding: .1rem;
}

.card-container .card-item .left {
    width: 55%;
    padding: .1rem;

    .title {
        font-weight: 500;
        font-size: .3rem;
        color: var(--dcl);
    }

    .desc {
        font-size: .2rem;
        color: var(--c9);
        margin: .1rem 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .go {
        background: #FAECED;
        border-radius: .20rem;
        font-size: .24rem;
        color: #EC1B24;
        padding: .09rem .09rem .08rem .09rem;

        > i {
            font-size: .24rem;
        }
    }
}

.card-container .card-item .right {
    width: calc(45% - .2rem);

    > img {
        width: 100%;
        height: 100%;
    }
}

.pro-container {

    .icon {
        width: .43rem;
        height: .27rem;
    }

    .title {
        font-weight: 500;
        font-size: .36rem;
        color: var(--dcl);
        margin: 0 .35rem;
    }

    .line {
        font-size: .3rem;
        color: var(--dcl);
    }

    .line:after, .line:before {
        content: '';
        display: block;
        width: .68rem;
        height: 1px;
        background: var(--cc);
        margin: 0 .2rem;
    }
}

.product-item {
    padding: 0 !important;

    .content {
        margin: .2rem .15rem;
    }

    .icon {
        width: 100%;
        border-radius: 0.2rem 0.2rem 0 0;
    }

    .title {
        width: 100%;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        color: var(--dcl);
        font-size: var(--default-font-size-26);
        text-align: left;
    }

    .price {
        color: var(--bd);
        font-size: .32rem;
        text-align: left;
        padding: .1rem 0;
    }

    .front:before {
        content: '￥';
        color: var(--bd);
        font-size: .24rem;
    }

    .desc {
        color: var(--c9);
        font-size: .22rem;

        .underline {
            text-decoration-line: line-through;
        }
    }
}

.tab {
    padding: .27rem .3rem;
    background-color: var(--ff);
    position: fixed;
    top: .88rem;
    width: calc(100% - .6rem);
    z-index: 999;

    .item {
        display: flex;
        align-items: center;
        flex-direction: column;
        position: relative;
        font-size: var(--default-font-size-28);
        color: var(--dcl)
    }

    .lay-this {
        color: var(--bd);
    }

    .lay-this:after {
        content: '';
        width: .4rem;
        height: .06rem;
        background: var(--bd);
        border-radius: .03rem;
        position: absolute;
        bottom: -.27rem;
        left: 50%;
        right: 50%;
        transform: translateX(-50%);
    }
}

